package com.pie4cloud.pie.job.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.pie4cloud.pie.common.mybatis.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.annotations.GenericGenerator;

import javax.persistence.*;

/**
 * 
 *
 * @author feilei
 * @date 2022-01-10 00:54:34
 */
@Data
@TableName("t_check_info")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "")
@Entity
@Table(name="T_CHECK_INFO")
public class CheckInfo extends BaseEntity {

    /**
     * 审核编号
     */
	@Id
	@TableId(value = "check_id", type = IdType.ASSIGN_ID)
	@GenericGenerator(name="snowflakeId", strategy="com.pie4cloud.pie.jpa.id.GenerateSnowflakeId")
	@GeneratedValue(generator="snowflakeId")
    @ApiModelProperty(value="审核编号")
    private Long checkId;

    /**
     * 申请编号
     */
    @ApiModelProperty(value="申请编号")
	@Column(name = "apply_id")
    private Long applyId;

    /**
     * 审核状态
     */
    @ApiModelProperty(value="审核状态")
	@Column(name = "check_status")
    private Integer checkStatus;

    /**
     * 审核描述
     */
    @ApiModelProperty(value="审核描述")
	@Column(name = "check_comment",length = 255)
    private String checkComment;


}
